package cn.gaotu.system.mapper;

import cn.gaotu.system.domain.Role;
import cn.gaotu.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author FlyPig
 * @since 2022-09-01
 */
public interface RoleMapper extends BaseMapper<Role> {

    void removeRoleMenuByRoleId(Long id);

    void removeRolePermissionByRoleId(Long id);

    void saveRoleMenu(Role role);

    void savePermission(Role role);
}
